package com.fin.zw.intelligentbot.entity;

import lombok.Data;
import org.hibernate.annotations.Table;

import javax.persistence.Column;
import javax.persistence.Entity;
import java.util.Date;

/**
 * @Auther:
 * @Description: 信息导入回收日志记录
 * @Date: 2020/3/30 9:59
 */
@Data
@Entity
@Table(appliesTo = "dial_task_import_record", comment = "信息导入回收日志记录表")
public class DialTaskImportRecord extends BaseEntity {
    @Column(columnDefinition = "varchar(64) COMMENT '任务名称'")
    private String taskName;

    @Column(columnDefinition = "int(10) comment '导入数量'")
    private Integer importCount;

    @Column(columnDefinition = "int(10) comment '导入出错数量'")
    private Integer errorCount;

    @Column(columnDefinition = "varchar(64) COMMENT '创建人id'")
    private String userId;

    @Column(columnDefinition = "varchar(64) COMMENT '创建人id'")
    private String userName;

    @Column(columnDefinition = "datetime COMMENT '创建时间'")
    private Date importDate;

}
